package cn.itcast.travel.domain;

public class FandV {
    private int id;//编号
    private String name;//商品名称
    private int amount;//商品数量
    private double price;//商品价格
    private String ProductionDate;//生产日期
    private int Shelflife;//保质期
    private String manufacturer;//供货商
    private String phone;//电话号码

    public FandV() {
    }

    public FandV(int id, String name, int amount, double price, String productionDate, int shelflife, String manufacturer, String phone) {
        this.id = id;
        this.name = name;
        this.amount = amount;
        this.price = price;
        ProductionDate = productionDate;
        Shelflife = shelflife;
        this.manufacturer = manufacturer;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "FandV{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", amount=" + amount +
                ", price=" + price +
                ", ProductionDate='" + ProductionDate + '\'' +
                ", Shelflife=" + Shelflife +
                ", manufacturer='" + manufacturer + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getProductionDate() {
        return ProductionDate;
    }

    public void setProductionDate(String productionDate) {
        ProductionDate = productionDate;
    }

    public int getShelflife() {
        return Shelflife;
    }

    public void setShelflife(int shelflife) {
        Shelflife = shelflife;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}